window.onload=function() {

    var item=document.getElementById('main');
    item.setAttribute("class","tabActiveHeader");
    var aitem=document.getElementById('amain');
    aitem.setAttribute("class","activeLink");
}

function getTime(secs)
{
    var hours = Math.floor(secs / (60 * 60));
    var divisor_for_minutes = secs % (60 * 60);
    var minutes = Math.floor(divisor_for_minutes / 60);
    var divisor_for_seconds = divisor_for_minutes % 60;
    var seconds = Math.ceil(divisor_for_seconds);
   
    var obj = {
        "h": hours,
        "m": minutes,
        "s": seconds
    };
    return obj;
}


